package m.system.db;

public class DBConfig {
	private static String driver="";
	private static String url="";
	private static String username="";
	private static String password="";
	private static String initConnect="";
	private static Integer maxConnect=20;
	private static Integer queryTimeout=600;
	public static String getDriver() {
		return driver;
	}
	public static void setDriver(String driver) {
		DBConfig.driver = driver;
	}
	public static void setUrl(String url) {
		DBConfig.url = url;
	}
	public static void setUsername(String username) {
		DBConfig.username = username;
	}
	public static void setPassword(String password) {
		DBConfig.password = password;
	}
	public static String getUrl() {
		return url;
	}
	public static String getUsername() {
		return username;
	}
	public static String getPassword() {
		return password;
	}

	public static String getInitConnect() {
		return initConnect;
	}
	public static void setInitConnect(String initConnect) {
		DBConfig.initConnect = initConnect;
	}

	public static Integer getMaxConnect() {
		return maxConnect;
	}

	public static void setMaxConnect(Integer maxConnect) {
		DBConfig.maxConnect = maxConnect;
	}

	public static Integer getQueryTimeout() {
		return queryTimeout;
	}

	public static void setQueryTimeout(Integer queryTimeout) {
		DBConfig.queryTimeout = queryTimeout;
	}
}
